package com.campus.manage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.campus.common.annotation.Excel;
import com.campus.common.core.domain.BaseEntity;

/**
 * 失物招领对象 lost
 * 
 * @author hehe
 * @date 2025-10-22
 */
public class Lost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 失物编号 */
    private Long lostId;

    /** 失物名称 */
    @Excel(name = "失物名称")
    private String lostName;

    /** 照片 */
    @Excel(name = "照片")
    private String image;

    /** 丢失时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "丢失时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lostTime;

    /** 失物类别 */
    @Excel(name = "失物类别")
    private String lostType;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String contact;

    public void setLostId(Long lostId) 
    {
        this.lostId = lostId;
    }

    public Long getLostId() 
    {
        return lostId;
    }

    public void setLostName(String lostName) 
    {
        this.lostName = lostName;
    }

    public String getLostName() 
    {
        return lostName;
    }

    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }

    public void setLostTime(Date lostTime) 
    {
        this.lostTime = lostTime;
    }

    public Date getLostTime() 
    {
        return lostTime;
    }

    public void setLostType(String lostType) 
    {
        this.lostType = lostType;
    }

    public String getLostType() 
    {
        return lostType;
    }

    public void setContact(String contact) 
    {
        this.contact = contact;
    }

    public String getContact() 
    {
        return contact;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("lostId", getLostId())
            .append("lostName", getLostName())
            .append("image", getImage())
            .append("lostTime", getLostTime())
            .append("lostType", getLostType())
            .append("contact", getContact())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
